package com.weibo4j.api.req.user;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.response.user.UserGetResponse;
import com.weibo4j.api.util.RequestType;

public class UserGetByDomainRequest extends WeiboRequest<UserGetResponse> {
    private String domain;
    
    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    @Override
    public RequestType requestType() {
        return RequestType.GET;
    }


    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/users/domain_show.json";
    }

    @Override
    protected Class<UserGetResponse> responseType() {
        return UserGetResponse.class;
    }

}
